 
import request_1 from '../utils/request'
import globalData from '../globalData'
 
const request = new request_1({
	ApiUrl:globalData.URL
}); 
console.log(globalData.URL,'这是移动端优化接口的url')



//获取站点列表筛选条件 部分几个
export const indexSearchCondition = function (data) {
    return request.postRequest({
        url: 'api-service/api/indexSearchCondition',
		data,
    });
};


//获取筛选条件页面的 运营商
export const findAllTree = function (data) {
    return request.postRequest({
        url: 'config-service/operatingUnit/findAllTree',
		data,
    });
};


//获取筛选条件页面的 标签
export const getAllCategoryDTO = function (data) {
    return request.postRequest({
        url: 'taglib-service/tagCategory/getAllCategoryDTO',
		data,
    });
};




//首页站点列表v2
export const indexStationNewV2 = function (data,enableCancel = false) {
    return request.postRequest({
        url: 'api-service/api/indexStationNewV2',
		data,
        enableCancel
    });
};

//首页站点列表v2 未登录
export const indexStationNewV2NoAuth = function (data,enableCancel = false) {
    return request.postRequest({
        url: 'api-service/api/indexStationNewV2NoAuth',
		data,
        enableCancel
    });
};



//安全防护-获取会员SOC设置
export const selectMemberSocSetting = function (sellerId, memberId) {
    return request.postRequest({
        url: `config-service/memberSocSetting/selectMemberSocSetting?sellerId=${sellerId}&memberId=${memberId}`,
    });
};


//安全防护-会员设置SOC
export const saveMemberSocSetting = function (data) {
    return request.postRequest({
        url: 'config-service/memberSocSetting/saveMemberSocSetting',
		data,
    });
};





//充电扣款-确认支付 831优惠自动扣款接口调整
export const delayDeductionChargeV2 = function (data) {
    return request.postRequest({
        url: 'bill-service/bill/deductionBill',
		data,
    });
};




































